package com.example.samples.service;


import com.example.samples.Vo.Page;
import com.example.samples.Vo.SamplePage;
import com.example.samples.bean.Sample;
import com.github.pagehelper.PageInfo;

import java.util.Map;

public interface SamplesService {

    public PageInfo findAll(SamplePage page);

    public Sample findById(Integer id);

    public  int  save(Sample sample);
    public  int deleteById(Integer id);
    public   int  update(Sample sample,String path);



}
